derivative of e^x from first principles